Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Just one Record
Message
From
10/11/2001 17:42:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Just one Record
Miscellaneous
Thread ID:
00580197
Message ID:
00580197
Views:
54
I am using the following SQL pass-through

lParameters prodwg
Local processdone

prodwg = "'" + prodwg + "'"

sflgdone = SQLCONNECT('pdmsupflag')
sflgpro = "Select * From maindatad Where dm_drawing = &prodwg"

=SQLEXEC(sflgdone, sflgpro, 'sflging')
=CURSORSETPROP("Tables" , "maindatad")
=CURSORSETPROP("UpdateNameList" , "dsflag maindatad.dsflag")
=CURSORSETPROP("KeyFieldList", "dm_drawing, dsflag")
=CURSORSETPROP("UpdatableFieldList", "dsflag")
=CURSORSETPROP("SendUpdates", .T.)
Browse
Use
=SQLDISCONNECT(sflgdone)

Why is it updating every record and not just the one I want?
Next
Reply
Map
View

Click here to load this message in the networking platform