PDA

Click to See Complete Forum and Search --> : Report and Data enviroment??


allanbech
Nov 21st, 2000, 02:46 PM
Hi All

New in Vb and design reports!

I have a problem and I can't find the result.. Please help!!

In my application I have made a search option.. 1. time I want the report it's perfect but when I search 2'nd time, the report is the report from the 1. time :-?? Did you get it :-))

Here is the code i use in the cmd, but I think the problem is in my Report design!!
---------------------------------------------------------

Dim testord As Integer

testord = ordrertxt.Text

'MsgBox (hello) & testord

Rapport.Commands("All").CommandText = "SELECT [Ordrer nummer] FROM Ugerapport WHERE [Ordrer nummer]= " & testord & ""

wvReport.Show

-----------------------------------------------------------

Regards,
Allan

Vb6 PRO, SP6, W2KPRO