Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: vbvictim
  • Order by date
  1. vbvictim

    MaxLength in TextBox not working

    Try copying the text box from the form that works and pasting it to the one that doesn't. And, of course, blow away the offending text box and then rename the new text box to the name of the old one. That way you know you are getting absolutely a text box that is identical to the one that is...
  2. vbvictim

    MaxLength in TextBox not working

    what does it do if you set the maxlength property to 6 in the property designer (design mode)?
  3. vbvictim

    Which is better ' rs("fieldName") ' or ' rs!fieldName ' ?

    I like the rs!fieldname syntax much better. It is easier to read and can use with "with". Having said that, like most things in BG's world, it doesn't matter what I like! If .net likes the more difficult syntax, so be it. I doesn't matter that I have tons of existing code using the...
  4. vbvictim

    Passing parameter to DataGrid object

    try making your sql say "select * from " _ & "customer where company_name ='" _ txtCompany.text & "'"
  5. vbvictim

    Urgent ::: How to Print MsFlexGrid data ????

    You could always use a for loop to read the contents of the grid and then send them to a printer: dim intRows as integer for intRows = 0 to grid.rows - 1 printer.print grid.textmatrix(intRows, col) next note that intRows will very depending on the number of rows. I'm assuming that the number...
  6. vbvictim

    Connect to Oracle8i using OLEDB

    Yes, get the actual sql string that is being passed and paste it into SQL Plus. I find building the sql string to be quite tedious and often I have errors with inserting needed quotes and commas............. I find the simplest way to see if it is my sql or some other problem (other than the...
  7. vbvictim

    Style vs Idiot-Proofing

    Excellent point regarding "mission critical" vs not. Requirements and related schedules dictated to programmers definitely need to be driven by whether or not the app is mission critical. This should also influence skill levels of programmers placed on the project. If you want it...
  8. vbvictim

    Style vs Idiot-Proofing

    Ok all, ponder this........ How often are we torn between finding "a way" to do something and finding the "best way" to do it? And, how much time should be dedicatd to looking for the "best way". I know that I may wade through "help" VB manuals for...
  9. vbvictim

    Style vs Idiot-Proofing

    I really hate to wade in on this, but what the heck? Show me 2 programmers and I'll show you 2 styles. Show me 5 programmers and I'll see 5 styles. Show me 2 things written by the same programmer, but, say written a year apart, and I'll see 2 styles. I know that my style changes as I better...
  10. vbvictim

    edit/update flexgrid fields

    Depending on how eligant you want to get, you can also use an input box. I do this in the flexgrid's enter cell event. kinda like this: private sub flexgrid_EnterCell() dim strString as string strSring = inputbox("Please enter something") 'put some string editing stuff here like...
  11. vbvictim

    Sorting recordsets

    You can also sort the recordset after you have it: rsRecordset.Sort = "FieldName" As far as it being in varchar, you may have to convert that field to a date in your SQL statement. That way you will be returning a date and then the sort will be ok. I'm pretty sure you can convert to...
  12. vbvictim

    calendar

    There is also the MonthView control
  13. vbvictim

    DBGrid/DataGrid

    Try setting the cell row and column properties and then set the font property kinda like this: msgCalendar.Row = 3 msgCalendar.Col = 6 msgCalendar.CellFontName = "MS Sans Serif" msgCalendar.CellFontBold = True...

Part and Inventory Search

Back
Top