Forum: สอบถามปัญหา Notes ทางด้านพัฒนาโปรแกรม (Note Client) |
Tags1: | Created on Jun 16, 2009, 11:46 AM by 9notes/9Notes|Topic Responses: 7 |
&action=openDocument&documentId=29BA |
อันนี้หมายถึงรถที่จอไปแล้วใช่ไหมครับ
temp :=@DbLookup("":"Nocache";@DbName;"dspcaruse";Type;2);
@If(@IsError(temp);"";temp)
อันนี้จะไปรถทั้งหมดที่มี
temp2 :=@DbLookup("":"Nocache";@DbName;"dspcartype";Type;2);
@If(@IsError(temp);"";temp)
เราเอา 2 อันนี้หักลบกันแบบนี้โดยใช้ @ReplaceSubstring ครับ
@ReplaceSubstring(temp2; temp1; "")
ก็จะได้รถที่ว่างที่ยังเหลืออยู่ครับ |
|