Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A simple VB problem with Select
Message
From
16/03/1999 07:58:35
 
 
To
16/03/1999 05:28:56
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00197969
Message ID:
00198003
Views:
51
>Hi, I am trying to use VB for macros in Word, but cannot find out how to select records for merging from VFP. All records are no problem, with
>
>SQLstatement:="Select * FROM myfile",
>
>but how do I qualify the statement to select specific records, or a range of records? I have tried adding WITH name >= Olsen AND name <= Petersen', but all I get form Word is a msg that it cannot open the VFP file. The Help file is not very informative either, so I am stuck. I did such things in Word 6 with Wordbasic...
>
>Rolf

You might want to try changing your WITH to a WHERE.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform