VBA info please (needed quick), very basic questions anyone would know 
Author Message
 VBA info please (needed quick), very basic questions anyone would know

I use access, i like access, i understand how access works (almost)

The bit i don't understand about access is the VBA side of thing, as i
don't know VBA.

In a couple of hours I'm going to be looking at a VBA database program
to try and work out what is going on.

Basically HOW DOES VBA INTERFACE WITH JET? CAN I GET IT INTO ACCESS?

the VBA programmer made the classic mistake- very pretty forms but
incorrect data structure.
ie lots of 1-to-1 and a 1-to-many when it is many-to-many.

what i want to know is there anyway i can take his underlying data
structure and look at it in Access.

I know that the guy did not do the underlying stuff (i don't even know
what it is called). only the forms and queries on top

Brougham

hoping for a quick response



Tue, 18 Jan 2000 03:00:00 GMT  
 VBA info please (needed quick), very basic questions anyone would know

I use access, i like access, i understand how access works (almost)

The bit i don't understand about access is the VBA side of thing, as i
don't know VBA.

In a couple of hours I'm going to be looking at a VBA database program
to try and work out what is going on.

Basically HOW DOES VBA INTERFACE WITH JET? CAN I GET IT INTO ACCESS?

the VBA programmer made the classic mistake- very pretty forms but
incorrect data structure.
ie lots of 1-to-1 and a 1-to-many when it is many-to-many.

what i want to know is there anyway i can take his underlying data
structure and look at it in Access.

I know that the guy did not do the underlying stuff (i don't even know
what it is called). only the forms and queries on top

Brougham

hoping for a quick response



Tue, 18 Jan 2000 03:00:00 GMT  
 VBA info please (needed quick), very basic questions anyone would know

The screens you are looking for are under Tools...Relationships and in the
Tables page on the database window.  Be advised that modifying
relationships may have strange effects on those pretty forms, so check them
out carefully after changes to make sure you are still getting the desired
results.



Quote:
> I use access, i like access, i understand how access works (almost)

> The bit i don't understand about access is the VBA side of thing, as i
> don't know VBA.

> In a couple of hours I'm going to be looking at a VBA database program
> to try and work out what is going on.

> Basically HOW DOES VBA INTERFACE WITH JET? CAN I GET IT INTO ACCESS?

> the VBA programmer made the classic mistake- very pretty forms but
> incorrect data structure.
> ie lots of 1-to-1 and a 1-to-many when it is many-to-many.

> what i want to know is there anyway i can take his underlying data
> structure and look at it in Access.

> I know that the guy did not do the underlying stuff (i don't even know
> what it is called). only the forms and queries on top

> Brougham

> hoping for a quick response



Thu, 20 Jan 2000 03:00:00 GMT  
 VBA info please (needed quick), very basic questions anyone would know

Let me try this again...this example is synchronizing a replicated database
using Jet

Private Sub Command0_Click()
Dim maindb As Database
Dim wrkJet As Workspace
On Error GoTo err_handler
' Create Microsoft Jet Workspace object.
    Set wrkJet = CreateWorkspace("", "admin", "", dbUseJet)

    ' Open Database object from saved Microsoft Jet database
    ' for exclusive use.
    DoCmd.Hourglass (1)
    Set maindb = wrkJet.OpenDatabase("G:\AccessDB\SysData.mdb")
    DoCmd.Hourglass (0)
    MsgBox "Ready to go...", vbOKOnly
    DoCmd.Hourglass (1)

    If chkSend = True Then maindb.Synchronize
"C:\Sysdata\Sysdata.Replica.mdb", dbRepExportChanges
    If chkReceive = True Then maindb.Synchronize
"C:\Sysdata\Sysdata.Replica.mdb", dbRepImportChanges

    (etc...)



Thu, 20 Jan 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. API, WM_SETEXT, quick question, need quick answer please

2. Does anyone know of a way to play a quick time 4 move in VB6.0

3. Does anyone know how to retrieve the link-info with the IShelllink

4. Anyone knows where I can find uue/b64 info

5. vbrun5 dll i need one quick please please

6. Can anyone HELP me PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

7. Quick Basic/Turbo Basic Question

8. Quick Basic/Turbo Basic Question

9. Anyone know about Adding graphs using VB/VBA

10. Please anyone know about Zero Suppression using Mask Edit

11. Does anyone know Business Basic?

12. Anyone know what happened to the comp.lang.basic.visual newsgroup

 

 
Powered by phpBB® Forum Software